package com.qingzhou.web.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.qingzhou.web.repository.entity.MaterialsEntity;
import com.qingzhou.web.service.impl.params.request.*;
import com.qingzhou.web.service.impl.params.vo.MaterialsVo;

/**
 *
 * @author 李海
 */
public interface MaterialsService extends IService<MaterialsEntity> {

    int add(MaterialsAddForm form);
    int delete(MaterialsDeleteForm form);
    Page<MaterialsEntity> page(Page<MaterialsEntity> page, MaterialsEntity entity);
    MaterialsEntity detail(MaterialsDetailForm form);
    int edit(MaterialsEditForm form);
}
